<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
	    <meta name="Keywords" content="口才考试" />
	    <meta name="Description" content="口才考试" />
	    <meta name="format-detection" content="telephone=no">
	    <meta name="apple-mobile-web-app-capable" content="yes">
	    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	    <meta name="apple-mobile-web-app-title" content="口才考试">
	    <meta name="screen-orientation" content="portrait">
	    <meta name="x5-orientation" content="portrait">
	    <meta name="x5-page-mode" content="app">
	    <title>口才考试</title>
	    <!-- <script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-4.4.0.min.js"></script> -->
	    <script src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js" type="text/javascript"></script>
	    <script>
	    	document.addEventListener("touchstart", function(){}, true)
	    </script>
	    <script>
	    	;(function(win, lib) {
	    	    var doc = win.document;
	    	    var docEl = doc.documentElement;
	    	    var metaEl = doc.querySelector('meta[name="viewport"]');
	    	    var flexibleEl = doc.querySelector('meta[name="flexible"]');
	    	    var dpr = 0;
	    	    var scale = 0;
	    	    var tid;
	    	    var flexible = lib.flexible || (lib.flexible = {});

	    	    if (metaEl) {
	    	        console.warn('将根据已有的meta标签来设置缩放比例');
	    	        var match = metaEl.getAttribute('content').match(/initial\-scale=([\d\.]+)/);
	    	        if (match) {
	    	            scale = parseFloat(match[1]);
	    	            dpr = parseInt(1 / scale);
	    	        }
	    	    } else if (flexibleEl) {
	    	        var content = flexibleEl.getAttribute('content');
	    	        if (content) {
	    	            var initialDpr = content.match(/initial\-dpr=([\d\.]+)/);
	    	            var maximumDpr = content.match(/maximum\-dpr=([\d\.]+)/);
	    	            if (initialDpr) {
	    	                dpr = parseFloat(initialDpr[1]);
	    	                scale = parseFloat((1 / dpr).toFixed(2));
	    	            }
	    	            if (maximumDpr) {
	    	                dpr = parseFloat(maximumDpr[1]);
	    	                scale = parseFloat((1 / dpr).toFixed(2));
	    	            }
	    	        }
	    	    }

	    	    if (!dpr && !scale) {
	    	        var isAndroid = win.navigator.appVersion.match(/android/gi);
	    	        var isIPhone = win.navigator.appVersion.match(/iphone/gi);
	    	        var devicePixelRatio = win.devicePixelRatio;
	    	        if (isIPhone) {
	    	            // iOS下，对于2和3的屏，用2倍的方案，其余的用1倍方案
	    	            if (devicePixelRatio >= 3 && (!dpr || dpr >= 3)) {
	    	                dpr = 3;
	    	            } else if (devicePixelRatio >= 2 && (!dpr || dpr >= 2)){
	    	                dpr = 2;
	    	            } else {
	    	                dpr = 1;
	    	            }
	    	        } else {
	    	            // 其他设备下，仍旧使用1倍的方案
	    	            dpr = 1;
	    	        }
	    	        scale = 1 / dpr;
	    	    }

	    	    docEl.setAttribute('data-dpr', dpr);
	    	    if (!metaEl) {
	    	        metaEl = doc.createElement('meta');
	    	        metaEl.setAttribute('name', 'viewport');
	    	        metaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no');
	    	        if (docEl.firstElementChild) {
	    	            docEl.firstElementChild.appendChild(metaEl);
	    	        } else {
	    	            var wrap = doc.createElement('div');
	    	            wrap.appendChild(metaEl);
	    	            doc.write(wrap.innerHTML);
	    	        }
	    	    }

	    	    function refreshRem(){
	    	        var width = docEl.getBoundingClientRect().width;
	    	        if (width / dpr > 980) {
	    	            width = 980 * dpr;
	    	        }

	    	        var rem = width / 10;

	    	        docEl.style.fontSize = rem + 'px';
	    	        flexible.rem = win.rem = rem;

	    	        //处理系统字体放大情况,目前只处理横屏，否则某些手机横竖屏切换会有问题
	    	        if(doc.body && window.orientation==0){
	    	            var _rem = rem,
	    	                html_width = width,
	    	                body_width = doc.body.getBoundingClientRect().width;

	    	            if(html_width != body_width){
	    	                //系统字体放大
	    	                _rem = rem * (html_width/body_width);
	    	                docEl.style.fontSize = _rem + 'px';
	    	                flexible.rem = win.rem = rem;
	    	            }
	    	        }
	    	    }

	    	    win.addEventListener('resize', function() {
	    	        clearTimeout(tid);
	    	        tid = setTimeout(refreshRem, 300);
	    	    }, false);
	    	    win.addEventListener('pageshow', function(e) {
	    	        if (e.persisted) {
	    	            clearTimeout(tid);
	    	            tid = setTimeout(refreshRem, 300);
	    	        }
	    	    }, false);

	    	    if (doc.readyState === 'complete') {
	    	        doc.body.style.fontSize = 12 * dpr + 'px';
	    	    } else {
	    	        doc.addEventListener('DOMContentLoaded', function(e) {
	    	            doc.body.style.fontSize = 12 * dpr + 'px';
	    	            //处理大字体问题，此时执行会有“闪”的问题
	    	            //最好在body标签下增加lib.flexible.refreshRem();
	    	            refreshRem();
	    	        }, false);
	    	    }


	    	    refreshRem();

	    	    flexible.dpr = win.dpr = dpr;
	    	    flexible.refreshRem = refreshRem;
	    	    flexible.rem2px = function(d) {
	    	        var val = parseFloat(d) * this.rem;
	    	        if (typeof d === 'string' && d.match(/rem$/)) {
	    	            val += 'px';
	    	        }
	    	        return val;
	    	    }
	    	    flexible.px2rem = function(d) {
	    	        var val = parseFloat(d) / this.rem;
	    	        if (typeof d === 'string' && d.match(/px$/)) {
	    	            val += 'rem';
	    	        }
	    	        return val;
	    	    }
	    	})(window, window['lib'] || (window['lib'] = {}));
	    </script>
	</head>
	<body>
		<section>
			<!-- 试题标题 -->
			<section class="page-examVideo-title">
				<div class="page-examVideo-title-inner title-inner-content">
					<div class="inner-left"></div>
					<div class="inner-right" id="J_exam_title"></div>
				</div>
			</section>
			<!-- 答题说明 -->
			<section class="page-section-bg page-section-bg__sm">
				<div class="page-section-bg-inner">
					<div class="page-section-title"><i class="page-exam-intro-title"></i></div>
					<div class="page-section-desc"><i class="page-exam-video-desc"></i></div>
					<div id="J_questionExplainUrl" class="page-section-content">
						<div class="mod-video-control" data-video-elem="control"></div>
						<div class="mod-video-cover" data-video-elem="cover"></div>
						<div class="mod-video-cover-bg" data-video-elem="coverImg"></div>
						<video data-video-elem="player" webkit-playsinline playsinline src="" controls="controls"></video>
					</div>
				</div>
			</section>
			<!-- 答题素材 -->
			<section id="J_material_wrap" style="display: none;">
				<section class="page-section-line"></section>
				<section class="page-section-custom">
					<div class="page-section-custom-outer">
						<div class="page-section-custom-inner">
							<div class="page-section-title"><i class="exam-material-title"></i></div>
							<div id="J_material" class="page-section-content">
								<figure data-am-widget="figure" class="am am-figure am-figure-default "  data-am-figure="{  pureview: 'true' }">
									<img width="100%" height="auto" src="http://koucaiceping-video.oss-cn-beijing.aliyuncs.com/kcx-video/ceping/test/2142.7749366698.png" alt="" data-rel="">
								</figure>
							</div>
						</div>
					</div>
				</section>
			</section>
			<!-- 区域连接线 -->
			<section class="page-section-line"></section>
			<!-- 答题示范 -->
			<section class="page-section-bg page-section-bg__lg">
				<div class="page-section-bg-inner">
					<div class="page-section-title"><i class="page-exam-example-title"></i></div>
					<div id="J_answerDemoUrl" class="page-section-content">
						<div class="mod-video-control" data-video-elem="control"></div>
						<div class="mod-video-cover" data-video-elem="cover"></div>
						<div class="mod-video-cover-bg" data-video-elem="coverImg"></div>
						<video data-video-elem="player" webkit-playsinline playsinline src="" controls="controls"></video>
					</div>
				</div>
			</section>
			<!-- 区域连接线 -->
			<section class="page-section-line section-line-hidden"></section>
			<!-- examAudio -->
			<section class="page-section-bg page-section-bg__lg section-line-hidden">
				<div class="page-section-bg-inner">
					<div class="page-section-title"><i class="page-exam-indivi-title"></i></div>
					<div class="page-section-content">
						<audio id="audio" src=""></audio>
					</div>
				</div>
			</section>
			<!-- 操作区域 -->
			<section class="page-section-handle">
				<div class="page-single-btn"><i id="J_record_btn" class="page-record-audio-btn"></i></div>
				<div class="page-record-icon recording">
					<i class="J_record_icon" id="recording">
						<div class="record-time">0:10</div>
					</i>
				</div>
				<div class="page-record-icon recorded">
					<i class="J_record_icon" id="audioPlay"></i>
				</div>
				<div class="page-record-icon recordPlaying">
					<i class="J_record_icon" id="audioPlaying">
						<div class="record-time">0:10</div>
					</i>
				</div>
				<div class="page-group-btn-wrap" style="margin-top: 0.5rem;">
					<div class="page-group-btn">
						<div class="group-btn-item">
							<i class="btn-item page-re-record-btn"></i>
						</div>
						<div id="J_next_btn_group" class="group-btn-item">
							<i id="J_next_btn" class="btn-item page-next-btn"></i>
						</div>
						<div id="J_finished_btn_group" class="group-btn-item">
							<i id="J_finished_btn" class="btn-item page-finished-btn"></i>
						</div>
					</div>
				</div>
			</section>
			<!-- 加载loading -->
			<div class="mod-loading-wrap">
				<div class="mod-circular-wrap">
					<svg viewBox="25 25 50 50" class="circular"><circle cx="50" cy="50" r="20" fill="none" stroke-width="4" stroke-miterlimit="10" class="path"></circle></svg>
				</div>
			</div>
		</section>
	</body>
</html>
